{template header}

<div class="midder">

<div class="mc">
<h1><a href="{tsUrl('group','tag',array(name=>$strTag[tagname]))}">{$strTag[tagname]}</a></h1>
<div class="cleft">
<div class="bbox pd10">

<div class="topic_list">
<ul>
{if $arrTopic}
{loop $arrTopic $key $item}
<li>
<div class="userimg"><a href="{tsUrl('group','user',array('id'=>$item[user][userid]))}"><img src="{$item[user][face]}" width="32"></a></div>

<div class="topic_title">
<div class="title"><a title="{$item[title]}" href="{tsUrl('group','topic',array('id'=>$item[topicid]))}">{$item[title]}</a>
</div>

<div class="topic_info">
<span style="float:left;">
<a href="{tsUrl('group','show',array('id'=>$item[groupid]))}">{$item[group][groupname]}</a>
</span>

<span style="float:right;">
{php echo getTime($item[uptime],time())}

<a href="{tsUrl('group','user',array('id'=>$item[userid]))}">{$item[user][username]}</a>

{if $item[count_comment]>0}<a class="rank" style="color:#FFFFFF;" href="{tsUrl('group','topic',array('id'=>$item[topicid]))}">{$item[count_comment]}</a>{/if}
</span>
</div>
</div>
<div class="clear"></div>
</li>	
{/loop}
{/if}
</ul>
</div>

<div class="page">{$pageUrl}</div>

<div class="clear"></div>

</div>
</div>

<div class="cright">
<h2>热门标签</h2>
<div class="tags">
{loop $arrTag $key $item}
<a href="{tsUrl('group','tag',array('name'=>urlencode($item[tagname])))}">{$item[tagname]}</a>
{/loop}
</div>

<div class="clear"></div>
<!--广告位-->
{php doAction('gobad','300')}

</div>
</div>
</div>


{template footer}